package com.example.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/*
 * 可以使用@EnableEurekaClient或@EnableDiscoveryClient注解。
 */
@EnableEurekaClient
@SpringBootApplication
public class ClientApplication {

	public static void main(String[] args) {
		SpringApplication.run(ClientApplication.class, args);
//		new SpringApplicationBuilder(DemoApplication.class).web(true).run(args);
	}

}
